package com.amayadream.webchat.utils;

import com.amayadream.webchat.pojo.ChatRecord;

public class ChatRecordUtil {
	public static ChatRecord setChatRecord(String fromid,String toid,String message,String time){
		ChatRecord c = new ChatRecord();
		c.setFromid(fromid);
		c.setToid(toid);
		c.setMessage(message);
		c.setTime(time);
		return c;
	}
}
